package edu.uestc.canary.mapper;

import edu.uestc.canary.entity.Category;

import java.util.List;

public interface CategoryMapper {

    int insert(Category category);

    int deleteById(Integer id);

    int updateById(Category category);

    Category findById(Integer id);

    List<Category> findAll();
}
